<!DOCTYPE html>

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta id="viewport" name="viewport" content="height=422; width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> 

    <title>GTUG Karlsruhe BunnyCacher</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="apple-touch-icon" href="/apple-touch-icon.png" />

    <script type="text/javascript" language="javascript" src="bunnycacher/iscroll.js"></script>

    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <script type="text/javascript" language="javascript" src="bunnycacher/bunnycacher.nocache.js"></script>
	<script>
		var orientation;
		setInterval(function() {
		    if (window.innerWidth == 320 && orientation != 'portrait') {
				orientation = 'portrait';
				//window.scrollTo(0, 1);
		        document.getElementById("viewport").setAttribute("content", "height=422; width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;", false);
		    } else if (window.innerWidth == 480 && orientation != 'landscape') {
				orientation = 'landscape';
				//window.scrollTo(0, 1);
		    	document.getElementById("viewport").setAttribute("content", "height=262; width=480; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;", false);
		    }
		}, 300);
	</script>
  </head>

  <body>

    <!-- OPTIONAL: include this if you want history support -->
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
    
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>

  </body>
</html>
